import Layout from '@/layouts';

export default [
  {
    path: '/zyjy',
    component: Layout,
    redirect: '/zyjy/defend',
    meta: {
      // title: '职业教育统计调查',
      title: '职业教育',
      // icon: 'view-module',
      isOrNot: true,
    },
    children: [
      {
        path: 'home',
        component: () => import('@/pages/blank.vue'),
        meta: {title: '首页', icon: 'view-module'},
      },
      {
        path: 'defend1',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/zyjy/defend1/defend1',
        meta: { title: '任务管理', icon: 'view-module'},
        children: [
          {
            path: 'defend1',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '任务发起管理'},
          },
          {
            path: 'defend2',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '任务预填报'},
          },
          {
            path: 'defend3',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '任务汇总'},
          },
        ]
      },
      {
        path: 'defend2',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/zyjy/defend2/defend1',
        meta: { title: '任务进度管理', icon: 'view-module'},
        children: [
          {
            path: 'defend1',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '进度统计'},
          },]
      },
      {
        path: 'defend3',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/zyjy/defend3/defend1',
        meta: { title: '调查填报', icon: 'view-module'},
        children: [
          {
            path: 'defend1',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '系统填报管理'},
          },
          {
            path: 'defend2',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '内容审核'},
          },
        ]
      },
      {
        path: 'defend4',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/zyjy/defend4/defend1',
        meta: { title: '调查报告', icon: 'view-module'},
        children: [
          {
            path: 'defend1',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '结果查询'},
          },
          {
            path: 'defend2',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '数据汇总分析'},
          },
        ]
      },
      {
        path: 'defend5',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/zyjy/defend5/defend1',
        meta: { title: '配置管理', icon: 'view-module'},
        children: [
          {
            path: 'defend1',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '模板配置'},
          },
          {
            path: 'defend2',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '机构管理'},
          },
        ]
      },
    ],

  },

];
